<html ng-app="app">
<head>
    <meta charset="utf-8">
    <base href="http://x-d-y-3-s.oss-cn-hangzhou.aliyuncs.com"/>
    <link rel="stylesheet" type="text/css" href="http://language-pdd.oss-accelerate.aliyuncs.com/pdd.css">
    <link rel="icon" href="">
    <meta name="viewport"
          content="width=device-width,initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
    <meta name="format-detection" content="telephone=no"/>
    <meta name="msapplication-tap-highlight" content="no"/>
    <title>记录</title>
    <script type="text/javascript">
        var _thost = 'http://' + window.location.host;
        var pathArr = window.location.pathname.split("/");
        if(pathArr.length==3 && pathArr[1] != ""){
            if(pathArr[1].search(".html")!=-1){

            }else{
                _thost = 'http://' + window.location.host + "/" + pathArr[1];
            }
        }
        var _tt = new Date().getTime();
        document.write('<script type="text/javascript" src="http://language-pdd.oss-accelerate.aliyuncs.com/lvskdjfkjdyou/config.js?v=3' + _tt + '"> <\/script>');
    </script>

    <script src="https://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>
    <script type="text/javascript" src="/files/js/jquery-1.9.1.min.js"></script>
    <script type="text/javascript" src="/files/js/bscroll.min.js"></script>
    <script type="text/javascript" src="/files/js/angular.min.js"></script>
    <script type="text/javascript" src="/files/js/fastclick.js"></script>
    <script type="text/javascript" src="/js/load.js?v=123"></script>
    <script type="text/javascript" src="/pdd2/packageRecord.js?v=123"></script>
</head>
<link rel="stylesheet" type="text/css" href="/files/css/activity.css">

<body ng-controller="myCtrl" style="background: url(/files/images/daoyou/package/bg.jpg); background-size: 100% 100%;">
<div style="position: fixed;width:100%;height:100%;top:0;left:0;background: #000" id="loading">
    <img src="/files/images/common/loading.gif"
         style="top: 40%;position: absolute;left: 50%;margin-left: -45px;margin-top: -45px;"/>
</div>
<div class="main" style="display: none;">

    <div id="out-box" class="outDiv"
         style="position: fixed;top: 84px; width: 100%; height: {{height - 84}}px; overflow: hidden; display: none;">
        <div id="out-scroll" style="position: relative;width: 100%;">
            <div ng-model="outRedPackages" ng-repeat="record in outRedPackages"
                 style="overflow: hidden; height: 80px;background: url(/files/images/daoyou/page/item-bg.png); background-size: 100% 100%;width: 96vw;margin-left: 2vw;position: relative;"
                 ng-click="clickCell(record)">
                <div style="height: 80px;">
                    <label class="pdd00559" style="position: absolute; right: 2vw;top: 2vh; text-align: right; color: #d45e47; overflow: hidden; display: block; height: 24px;">
                        {{record.ticket_count}}张</label>
                    <label style="position: absolute;bottom: 5px;right: 5px;text-align: right;width: 173.88px;color: #aaa;height: 24px;">
                        {{record.is_receive == 1 ? record.receive_time : record.create_time}}</label>
                    <img ng-if="record.is_receive == 0" src="/files/images/daoyou/package/package_box.png"
                         style="position: absolute;width: 16vw;top: 50%;left: 3vw;transform: translateY(-50%);">
                    <div ng-if="record.is_receive == 1"
                         style="position: absolute;width: 13vw;top: 50%;left: 3vw;transform: translateY(-50%);background: url(<?php echo $file_url;?>files/images/daoyou/page/avatar_box.png); background-size: 100% 100%;">
                        <img ng-src="{{record.receive_headimgurl}}"
                             style="width: 12vw;height: 12vw;margin: 0.5vw;border-radius: 1vw;">
                    </div>
                    <label style="position: absolute; left: 22vw;color: gray; height: 24px;top: 50%;transform: translateY(-50%);font-size: 18px;width: 50%;overflow: hidden;white-space: nowrap;text-overflow: ellipsis;">
                        {{record.is_receive == 0 ? '未领取' : record.receive_nickname}}</label>
                </div>
            </div>
        </div>
    </div>

    <div id="receive-box" class="receiveDiv"
         style="position: fixed;top: 84px; width: 100%; height: {{height - 84}}px; overflow: hidden; display: none;"
         when-scrolled="loadMoreReceive()">
        <div id="receive-box" style="position: relative;width: 100%">
            <div ng-model="receiveRedPackages" ng-repeat="value in receiveRedPackages"
                 style="overflow: hidden; height: 80px;position: relative;background: url(/files/images/daoyou/page/item-bg.png); background-size: 100% 100%;width: 96vw;margin-left: 2vw;"
                 ng-click="clickCell(value)">
                <div style="height: 80px;">
                    <label class="pdd00559" style="position: absolute; right: 2vw;top: 2vh; text-align: right; color: #d45e47; overflow: hidden; display: block; height: 24px;">
                        {{value.ticket_count}}张</label>
                    <label style="position: absolute;bottom: 5px;right: 5px;text-align: right;width: 173.88px;color: #aaa;height: 24px;">
                        {{value.receive_time}}</label>
                    <div style="position: absolute;width: 13vw;top: 50%;left: 3vw;transform: translateY(-50%);background: url(/files/images/daoyou/page/avatar_box.png); background-size: 100% 100%;">
                        <img ng-src="{{value.headimgurl}}"
                             style="width: 12vw;height: 12vw;margin: 0.5vw;border-radius: 1vw;">
                    </div>
                    <label style="position: absolute; left: 22vw;color: gray; height: 24px;top: 50%;transform: translateY(-50%);font-size: 18px;">
                        {{value.nickname}}</label>
                </div>
            </div>
        </div>
    </div>

    <img ng-src="/files/images/daoyou/common/back3.png" ng-click="backHall()"
         style="position: absolute;left: 2vw;top: 1.5vh;width: 11vw;">
    <img ng-src="/files/images/daoyou/package/receive{{packageType}}.png" ng-click="clickReceiveRedPackage()"
         style="position: absolute;left: 18vw;top: 2vh;width: 30vw;">
    <img ng-src="/files/images/daoyou/package/send{{packageType}}.png" ng-click="clickOutRedPackage()"
         style="position: absolute;left: 52vw;top: 2vh;width: 30vw;">

    <div class="swiper-pagination" style="display: none;"></div>

</div>
<script type="text/javascript">
    document.addEventListener('WeixinJSBridgeReady', function onBridgeReady() {
        
        WeixinJSBridge.call('hideOptionMenu');
    });
</script>
<script>
    $(document).on('click', 'img', function (e) {
        e.preventDefault();
    })
</script>

</body>
</html>
